package utils.global.Interceptor;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import utils.global.constant.RestfulJson;
import utils.global.constant.RestfulType;

@ConditionalOnBean(TokenInterceptorConfig.class)
@RestController
public class TokenCallBack {
    @RequestMapping("tokencallback")
    public RestfulJson tokenCallback() {
        return RestfulJson.type(RestfulType.AUTH_FAILURE);
    }
}
